#ifndef QCUSTOMOPERATIOEDITORDIALOG_H
#define QCUSTOMOPERATIOEDITORDIALOG_H

#include "../../libs/core/qbasedialog.h"

namespace Ui {
class QCustomOperatioEditorDialog;
}

class QCustomOperatioEditorDialog : public QBaseDialog
{
    Q_OBJECT
    
public:
    explicit QCustomOperatioEditorDialog(QWidget *parent = 0);
    ~QCustomOperatioEditorDialog();
    
    QString     get_code();
    int         get_period();

private slots:
    void on_okBtn_clicked();

    void on_cancelBtn_clicked();

private:
    Ui::QCustomOperatioEditorDialog *ui;

protected:
    QString     m_code;
    int         m_period;
};

#endif // QCUSTOMOPERATIOEDITORDIALOG_H
